package com.estar.integaration.entity.paymentPlanEntity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.persistence.Entity;

/**
 * Author: YJL
 * Date: 2022/2/18 21:44
 **/
@Data
@AllArgsConstructor
public class ExportPurchaseOrderDetail {

  /**
   * 供应商名称
   */
  @ExcelProperty(value = "供应商名称", index = 0)
  private String supplierName;

  /**
   * 订单编号
   */
  @ExcelProperty(value = "订单编号", index = 1)
  private String orderNumber;

  /**
   * 物料编码
   */
  @ExcelProperty(value = "物料编码", index = 2)
  private String materialNumber;

  /**
   * 物料名称
   */
  @ExcelProperty(value = "物料名称", index = 3)
  private String materialName;

  /**
   * 图号
   */
  @ExcelProperty(value = "图号", index = 4)
  private String drawingNo;

  /**
   * 规格型号
   */
  @ExcelProperty(value = "规格型号", index = 5)
  private String spec;

  /**
   * 品牌
   */
  @ExcelProperty(value = "品牌", index = 6)
  private String brand;


  /**
   * 订货数量
   */
  @ExcelProperty(value = "订货数量", index = 7)
  private Double predeterminedNumber;


  /**
   * 含税单价
   */
  @ExcelProperty(value = "含税单价", index = 8)
  private Double priceWithTax;


  /**
   * 价税合计
   */
  @ExcelProperty(value = "价税合计", index = 9)
  private Double priceTaxGather;


  /**
   * 应付金额
   */
  @ExcelProperty(value = "(应付)应付金额", index = 10)
  private Double amountDue;

  /**
   * 入库金额
   */
  @ExcelProperty(value = "(入库)入库金额", index = 11)
  private Double inventoryMoney;

  /**
   * 入库时间
   */
  @ExcelProperty(value = "(入库)入库日期",index = 12)
  private String inventoryDate;

  /**
   * 开票日期
   */
  @ExcelProperty(value="到票日期", index = 13)
  private String ticketComeTime;


  /**
   * 预计付款日期
   */
  @ExcelProperty(value = "预计付款日期", index = 15)
  private String expectPayDate;

  /**
   * 付款金额(test)
   */
  @ExcelProperty(value = "已付款金额", index = 16)
  private Double payAmount;

  /**
   * 待付款金额
   */
  @ExcelProperty(value = "待付款金额", index = 17)
  private Double needPayAmount;

  /**
   * 类型
   */
  @ExcelIgnore
  private String type;


  @ExcelProperty(value = "税点", index = 18)
  private String taxPoint;


  //应付日期
  @ExcelProperty(value="应付日期", index = 14)
  private String needPayDate;


}
